﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Login.Master" Inherits="System.Web.Mvc.ViewPage<JLL.China.Web.Models.LogOnModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">

    <% using (Html.BeginForm()) { %>
     <div id="wrapper" style="margin-top: 100px;" >
         <div id="title_pacific"></div>
        <div id="admin_login">
            <div class="login_form">
                <h2 >
                    Admin Panel for Residential Portal</h2>
                <ul>
                    <li>
                        <span style="color:Red;font-weight:bold;" id="lblStatus"></span>
                    </li>
                    <li>
                    <%= Html.TextBoxFor(m => m.UserName, new {id="txtUserName", onfocus="this.value=''", onblur="if(this.value ==''){this.value ='Username'}else{this.value = this.value}", name="username", autocomplete="off", @Value="Username", @class = "input_text" })%>
                    </li>
                    <li>
                        <%= Html.PasswordFor(m => m.Password, new {@class="input_text", onfocus="this.value=''", name="pwd", @Value="password", onblur="if(this.value ==''){this.value ='password'}else{this.value = this.value}" })%>
                    </li>
                    <li class="login_btn_area"  style="position: relative">
                        
                        <input type="submit" style="left: 118px!important;" class="login_btn" id="btnLogin" value="" name="btnLogin" />
                    </li>
                    <li><% if (ViewData["ErrorDetails"] != null)
                           {%>
        	
        <!--  start message-red -->
        <div id="message-red-sq">
            <table border="0" width="100%" cellpadding="0" cellspacing="0">
            <tr>
                <td class="red-left" style="height: 33px">Login fail. Please try again.</td>
               
            </tr>
            </table>
        </div>
        <!--  end message-red -->    
            
            
        <% }%></li> 
                </ul>
                
            </div>
        </div>
      
</div> <% } %> 

</asp:Content>
